import Vue from 'vue';
import Vuex from 'vuex';

import home from './modules/home';
import search from './modules/search';
import detail from './modules/detail';
import userlogin from './modules/userlogin';
import trade from './modules/trade';

Vue.use(Vuex);

export default new Vuex.Store({
    modules: {
        home,
        search,
        detail,
        userlogin,
        trade,
    },
});
